<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<form id="pagerForm" method="post" action="${ctx}/exception/detail">
</form>

<form rel="pagerForm" method="post" action="${ctx}/exception/detail" class="pageForm required-validate" onsubmit="return dialogSearch(this);">
<input type="hidden" name="time" value="${time}">
         <input type="hidden" name="pageNum" value="${page.current}" />
    <input type="hidden" name="pageSize" value="${page.pageSize}" />
    <input type="hidden" name="numPerPage" value="${page.pageSize}" />
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="icon" href="${ctx}/exception/detailExport" target="dwzExport"
				targetType="dialog" title="确实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="82">
		<thead>
			<tr>
				<th align="center">时间</th>
				<th align="center">用户</th>
				<th align="center">IP</th>
				<th align="center">URL</th>

			</tr>
		</thead>
		<tbody>
			<c:forEach items="${page.data}" var="item">
				<tr target="sid" rel="${item.id}">
					<td><fmt:formatDate value="${item.dataTime}"
								pattern="yyyy-MM-dd HH:mm:ss" /></td>
					<td>${item.userId}</td>
					<td>${item.ip}</td>
					<td>${item.url}</td>
				</tr>
			</c:forEach> 

			
		</tbody>
	</table>
    <%@include file="/WEB-INF/view/commons/dialogPaging.jsp"%>
</div>
</form>
